package com.furnitur.modules.portal.dto.review;

import lombok.Data;
import javax.validation.constraints.*;

@Data
public class ReviewSubmitDTO {
    @NotNull(message = "商品ID不能为空")
    private Long furnitureId;
    
    @NotNull(message = "评分不能为空")
    @Min(value = 1, message = "评分最小为1")
    @Max(value = 5, message = "评分最大为5")
    private Integer rating;
    
    @NotBlank(message = "评价内容不能为空")
    @Size(min = 5, max = 500, message = "评价内容长度需在5-500字之间")
    private String content;
    
    private String imageUrl;
} 